import React, { Component } from 'react'
import {withRouter} from "react-router-dom"
import "./searchInput.css"
class searchInput extends Component {
    handleClick=(params) => {
        this.props.history.push("/SearchCenter")
    }
    
    render() {
        return (
            <div className="searchInp" onClick={this.handleClick}>
                搜索
            </div>
        )
    }
}
export default withRouter(searchInput)
